<template>
  <!-- prettier-ignore -->
  <div>
    index
  </div>
</template>
<script>
export default {
  name: 'index',
  data() {
    return {
      isDev: process.env.NODE_ENV == 'development',
    };
  },
  computed: {
    conditionParameters: function () {
      return {};
    }, // this.data.form 整合前端的操作，转key/value作为参数给后端在这里更合适一点
    tableData: function () {
      return [];
    }, // 实际显示数据的位置
  },
  methods: {
    test: function () {},
    resetForm(formName) {
      //因为额外的功能（比如reset）才需要在 el-form 上 :model 绑定，
      this.$refs[formName].resetFields();
    },
    handleSizeChange(val) {
      console.log(`每页 ${val} 条`);
    },
    handleCurrentChange(val) {
      console.log(`当前页: ${val}`);
    },
  },
  beforeCreate: function () {},
  created: function () {},
  beforeMount: function () {},
  mounted: function () {
    console.log();
  },
  beforeUpdate: function () {},
  updated: function () {},
  beforeDestroy: function () {},
  destroyed: function () {},
};
</script>
<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped lang="less">
</style>